import Layout from '@/layout'

export default {
    path: '/expert_task',
    component: Layout,
    redirect: '/expert_task/index',
    name: 'ExpertTask',
    meta: {
        title: '专家任务管理'
    },
    children: [
        {
            path: 'index',
            name: 'ExpertTaskIndex',
            component: () => import('@/views/Administrators/expert_task/index'),
            meta: {
                title: '专家任务',
                sidebar: false,
                breadcrumb: false,
                activeMenu: '/expert_task'
            }
        },
        {
            path: 'addProfTask',
            name: 'ExpertTaskAddProfTask',
            component: () => import('@/views/Administrators/expert_task/addProfTask'),
            meta: {
                title: '新增专家任务',
                sidebar: false,
                activeMenu: '/expert_task',
                breadcrumb: true
            }
        },
        {
            path: 'taskType',
            name: 'ExpertTaskTaskType',
            component: () => import('@/views/Administrators/expert_task/taskType'),
            meta: {
                title: '管理任务类型',
                sidebar: false,
                activeMenu: '/expert_task',
                breadcrumb: true
            }
        },
        {
            path: 'profTaskDetail',
            name: 'ExpertTaskProfTaskDetail',
            component: () => import('@/views/Administrators/expert_task/profTaskDetail'),
            meta: {
                title: '专家任务详情',
                sidebar: false,
                activeMenu: '/expert_task',
                breadcrumb: true
            }
        }
    ]
}
